//
//  UITableViewCellWithIconList.h
//  Money Lover
//
//  Created by Hung Nguyen Thanh on 10/6/11.
//  Copyright (c) 2011 UET. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Photo.h"

@protocol UITableViewCellWithIconListDelegate;
@interface UITableViewCellWithIconList : UITableViewCell

@property (strong, nonatomic) NSArray *listIcon;
@property (strong, nonatomic) NSMutableArray *listButton;
@property (nonatomic, assign) NSInteger topIndex;
@property (nonatomic, assign) NSInteger numOfIconInCell;
@property (nonatomic, assign) id<UITableViewCellWithIconListDelegate> delegate;
- (void)setupIcon;
- (IBAction)iconSelected:(id)sender;
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier numOfIconInCell:(NSInteger)limit;
@end


@protocol UITableViewCellWithIconListDelegate <NSObject>

- (void)didSelectedIcon:(Photo *)photo;

@end